const mongoose = require("mongoose")

const CinemaSchema = new mongoose.Schema({
    name: String, //院线名,
    addr: String, //院线地址,
    image: String, //院线图片
    tel: String, //官方电话
}, {
    versionKey: false,
    timestamps: {
        createdAt: 'createTime',
        updatedAt: 'updateTime'
    } //自动管理修改时间
})

module.exports = mongoose.model("Cinema", CinemaSchema);